package com.zh.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@MapperScan("com.zh.auth.mapper")
@ComponentScan(basePackages = {"com.zh.auth", "com.zh.web","com.zh.common"})
@EnableFeignClients(basePackages = {"com.zh.web.openApi"})
@EnableAspectJAutoProxy(exposeProxy = true)
public class LsServiceAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(LsServiceAuthApplication.class, args);
    }

}
